Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Extract provider to logs #6565

Merged
merged 31 commits into from
Jul 9, 2024
Merged

Conversation

jmaslek
Copy link
Collaborator

@jmaslek jmaslek commented Jul 8, 2024

This is a small PR that touches the logging.

The reason for this is to allow select provider from data instead of needing to do weird nested json searching in the logs or having to remember the flattened property name.

Edge cases: creates an empty DummyProvider if provider_choices is not in kwargs and if provider is not in that model - it will just pass through 'not_passed_to_kwargs'

@github-actions github-actions bot added enhancement Enhancement platform OpenBB Platform labels Jul 8, 2024
@github-actions github-actions bot added the v4 PRs for v4 label Jul 8, 2024
Copy link
Contributor

@deeleeramone deeleeramone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work, I think you just need to modify the tests to accommodate the new property.

@deeleeramone deeleeramone self-requested a review July 9, 2024 01:28
@jmaslek jmaslek added this pull request to the merge queue Jul 9, 2024
Merged via the queue into develop with commit 7c33152 Jul 9, 2024
10 checks passed
@IgorWounds IgorWounds deleted the feature/add-provoder-to-logs branch July 9, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement platform OpenBB Platform v4 PRs for v4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants